<?php
class Homepage extends MY_Controller 
{
	var $curl = 'homepage';
	var $language;
	var $submenu = "_menu";	
	
	function __construct()
	{
		parent::__construct();

		$this->load->model(array('/public/homepage_model'));
				
		$this->data['Title'] = T_('Welcome!');	
		$this->data['curl'] = $this->curl;
	}
	
	function index()
	{
		$id = $this->auth->getID();
		//$this->homepage_model->admin($id);	
			
		$this->renderLayout();		
	}	
}
?>